/**
 * Project hdmap
 * @author shengjialiang
 * @version v1.0
 */


#ifndef _FIELD_H
#define _FIELD_H

#include "map_dataset/DataSetConfig.h"
#include "map_common/Object.h"

namespace DataManager
{
    class MAP_DATASET_EXPORT CField 
		: Common::CObject
    {
    public:
		CField()
		{
			this->mFieldIndex = 0;
		}

		virtual ~CField()
		{

		}
		
		inline int& getFieldIndex()
		{
			return this->mFieldIndex;
		}
	public:
		static std::string FT_INT;
		static std::string FT_FLOAT;
		static std::string FT_DOUBLE;
		static std::string FT_STRING;
		static std::string FT_JSON;
    private:
		int mFieldIndex;
    };
}
#endif //_FIELD_H